home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xmartin-2.2 / xmartin.mk < prev    next >
Makefile  |  1995-05-03  |  480b  |  24 lines

  1. CC = cc  
  2. CFLAGS = -O
  3. LIBS = -lm -lX11
  4. DESTBIN = /usr/local/bin
  5. DESTMAN = /usr/man/manl
  6.  
  7. xmartin: xmartin.c
  8.     $(CC) $(CFLAGS) -o xmartin xmartin.c $(LIBS)
  9.  
  10. install: xmartin
  11.     cp xmartin $(DESTBIN)/xmartin;
  12.     cp xmartin+.pl $(DESTBIN)/xmartin+;
  13.     cd $(DESTBIN); chmod 755 xmartin xmartin+
  14.  
  15. install.man:
  16.     cp xmartin.man $(DESTMAN)/xmartin.l; chmod 644 $(DESTMAN)/xmartin.l
  17.       
  18. clean:
  19.     rm -f xmartin core
  20.  
  21. uninstall:
  22.     cd $(DESTBIN); rm -f xmartin xmartin+
  23.     rm -f $(DESTMAN)/xmartin.l
  24.